<template>
  <div class="exception-page">
    <div class="img">
      <img src="./img/404.svg">
    </div>
    <div class="content">
      <h1>404</h1>
      <div class="desc">
        抱歉，你访问的页面不存在或仍在开发中
      </div>
      <div class="action">
        <el-button type="primary" @click="backHome">
          返回首页
        </el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ExceptionPage',
  data() {
    return {};
  },
  methods: {
    backHome() {
      this.$router.push('/');
    },
  },
};
</script>

<style lang="scss" scoped>
.exception-page{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: 4px;
  background-color: #fff;
}

.img{
  padding-right: 52px;
  zoom: 1;

  img{
    max-width: 430px;
  }
}

.content{
  h1{
    color: #434e59;
    font-size: 72px;
    font-weight: 600;
    line-height: 72px;
    margin-bottom: 24px;
  }

  .desc{
    color: #595959;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
  }
}
</style>
